<?php

/**
 *
 *
 * @version $Id$
 * @copyright 2009
 */
/**
 *
 *
 */
class BasicXMLEncoder{
	/**
	 * Constructor
	 */
	function __construct(){

	}

	public static function convertToXML($class){
		$result = "";
		foreach($class as $key => $value){
			$result .="<".$key.">".$value."</".$key.">";
		}
		return $result;
	}
}

?>